﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>商品详情</title>
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="keywords" content="销冠,TopSales微信" />
    <meta name="description" content="销冠,TopSales微信,TopSales销冠" />
    <base href="http://static.tops001.com/pointstore/" />
    <link href="css/main.css" rel="stylesheet" type="text/css" />
    <script src="../jq-bs-art.js" type="text/javascript"></script>
    <script src="js/common.js"></script>
    <script src="js/PageIndex.js"></script>
    <script src="../kk.js"></script>
</head>
<body>
    <div class="lay100">
        <img class="credit_img"  width="100%" alt="" />
        <div class="s_top">
            <div class="s_part">
                <div class="s_name" id="F_ProductName"></div>
                <div class="s_acc" id="F_PointNum"></div>
            </div>
            <div class="s_part2">
                <div class="s_num" id="F_ExchangeDescription"></div>
                <div class="s_remark" id="F_ExchangeTime"></div>
            </div>
        </div>
        <div class="credit_con" style="background:none;">
            <div class="credit_txt">
                <strong>商品介绍</strong><br/>
                <div id="F_Description"></div>
            </div>
            <div>
                <!--<img src="images/ad_in.png" alt="" width="100%" />-->
            </div>
        </div>
    </div>
    <script type="text/javascript">
        var apiUrl = "http://"+window.location.host+"/";
        $(function (){
          kk.api.get(apiUrl + "/ProductsExchange/GetDetail", { kid: GetUrlParam("kid") }, function (data) {
                //alert(JSON.stringify(data));
                $("#F_ProductName").text(data.F_ProductName)
                $("#F_PointNum").text(data.F_PointNum);
                //$("#F_Description").text(data.F_Description);
                var str = data.F_Description;
                var restr = str.replace(/\r\n/g, "</br>");
                $("#F_Description").html(restr);
                $(".credit_img").attr("src", "" + data.F_PicUrl + "");
                $("#F_ExchangeDescription").text(data.F_ExchangeDescription);
                $("#F_ExchangeTime").text(data.F_ExchangeTime);
                setTimeout(function () { $(".lay100").fadeIn(1000) }, 500);
            });
          
        });

   </script>
</body>
</html>
